<%@ Page Language="C#" AutoEventWireup="true" CodeFile="default.aspx.cs" Inherits="Private_CMS_main_default" %>
<%@ Register TagPrefix="flux" Assembly="Deepcode.Flux.Core" Namespace="Deepcode.Flux.Core.UI.Controls" %>
<HTML>
<HEAD>
	<TITLE>FLUX.NET ECMS</title>
	<LINK rel="stylesheet" type="text/css" href="../../../Asset/Style/GeneralStyle.css"/>
	<script language="javascript">
	function loadEverything( xx )
	{
		loadTree(xx);
		loadContent(xx);
		loadActions(xx);
	}
	function loadForm(vv)
	{
		var f = frames["ContentFrame"];
		if( f == null ) return;
		f.document.location.href = vv;
	}
	function loadContent(vv)
	{
		var f = frames["ContentFrame"];
		if( f == null ) return;
		f.document.location.href = "content.aspx?parentID=" + vv;
		loadActions(vv);
	}
	function refreshContent()
	{
		var f = frames["ContentFrame"];
		if( f == null ) return;
		if( f.reloadNow != null ) f.reloadNow();
		else f.document.location.href = "content.aspx";
	}
	function loadTree(vx)
	{
		var f = frames["TreeFrame"];
		if( f == null ) return;
		f.document.location.href = "tree.aspx?selectID=" + vx;
	}
	function refreshTree()
	{
		var f = frames["TreeFrame"];
		if( f == null ) return;
		f.reloadNow();
	}
	function loadActions(vv)
	{
		var f = frames["ActionsFrame"];
		if( f == null ) return;
		f.document.location.href = "actions.aspx?contentID=" + vv;
	}
	function refreshActions()
	{
		var f = frames["ActionsFrame"];
		if( f == null ) return;
		if( f.reloadNow != null ) f.reloadNow();
	}
	</script>
</HEAD>
<body bgcolor="#f2f2f2">
<form runat="server" id="Form1">
<table width="100%" height="100%" cellspacing="5" cellpadding="0" border="0">
<tr>
	<td rowspan="2" width="350" height="100%" id="TreeCell">
		<flux:FrameBox runat="server" width="350" height="100%" Title="Content Tree" url="tree.aspx" ID="Tree"/>
	</td>
	<td width="100%" height="100%" id="ContentCell">
		<flux:FrameBox runat="server" width="100%" height="100%" Title="Content" url="content.aspx" ID="Content"/>
	</td>
</tr>
<tr><td height="240" id="ActionsCell">
		<flux:FrameBox runat="server" Width="100%" Height="100%" Title="Actions" URL="actions.aspx" ID="Actions" AllowScroll="false"/>
	</td>
</tr>
</table>
</form>
</body>
</HTML>